-
Home
-
Shopz GraphQL API for WooCommerce
-
2.0.5
-
Code
-
Classes
- WPMLTranslator
Total Complexity |
21 |
Dependencies |
5 |
Dependents |
0 |
Total lines |
143 |
Lines of code |
100 |
Logical lines of code |
55 |
Comment lines |
1 |
Methods |
12 |
Properties |
2 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
57 |
3 |
17 |
get_translated_id() |
S |
62 |
2 |
13 |
translate_term() |
S |
62 |
2 |
11 |
translate_product() |
S |
63 |
2 |
11 |
translate_post() |
S |
62 |
2 |
11 |
set_language() |
S |
68 |
2 |
7 |
translate_category() |
S |
64 |
2 |
10 |
translate_posts_category() |
S |
65 |
2 |
9 |
is_available() |
S |
79 |
1 |
3 |
get_language() |
S |
79 |
1 |
3 |
get_languages() |
S |
82 |
1 |
3 |
translate_string() |
S |
91 |
1 |
2 |